package com.bjpowernode.service.impl;

import com.bjpowernode.service.StudentService;

public class StudentServiceImpl implements StudentService {


    public StudentServiceImpl() {
        System.out.println("studentService的构造方法");
    }

    @Override
    public void study() {
        //业务代码
        System.out.println("好好学习，天天向上");

        //非业务代码
        //System.out.println("控制事务");
    }

    public void init() {
        System.out.println("初始化");
    }

    public void destroy() {
        System.out.println("销毁");
    }
}
